


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Accelerated reloading Extension class
    /// </summary>
    
    public sealed class AcceleratedReloading: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.AcceleratedReloading"/> class.
        /// </summary>
        public AcceleratedReloading()
            : base(
                Traduction.extensions_accelerated_reloading, 
                ExtensionGroupsEnum.Engineering,
                1,
                0, 
                new ExtensionCost(5000,0),
                null )
        {
            Modifiers = new IModifier[]
                            {
                                new Modifier(FeatureTypesEnum.Robot,FeaturesEnum.ReloadingTime,0.05)
                            };
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_accelerated_reloading_description; }
        }
    }
}